package com.ruoyi.dgw.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.dgw.mapper.DealFoldMapper;
import com.ruoyi.dgw.domain.DealFold;
import com.ruoyi.dgw.service.IDealFoldService;

/**
 * 交易_调入Service业务层处理
 * 
 * @author ll
 * @date 2022-01-06
 */
@Service
public class DealFoldServiceImpl implements IDealFoldService 
{
    @Autowired
    private DealFoldMapper dealFoldMapper;

    /**
     * 查询交易_调入
     * 
     * @param id 交易_调入主键
     * @return 交易_调入
     */
    @Override
    public DealFold selectDealFoldById(Long id)
    {
        return dealFoldMapper.selectDealFoldById(id);
    }

    /**
     * 查询交易_调入列表
     * 
     * @param dealFold 交易_调入
     * @return 交易_调入
     */
    @Override
    public List<DealFold> selectDealFoldList(DealFold dealFold)
    {
        return dealFoldMapper.selectDealFoldList(dealFold);
    }

    /**
     * 新增交易_调入
     * 
     * @param dealFold 交易_调入
     * @return 结果
     */
    @Override
    public int insertDealFold(DealFold dealFold)
    {
        return dealFoldMapper.insertDealFold(dealFold);
    }

    /**
     * 修改交易_调入
     * 
     * @param dealFold 交易_调入
     * @return 结果
     */
    @Override
    public int updateDealFold(DealFold dealFold)
    {
        return dealFoldMapper.updateDealFold(dealFold);
    }

    /**
     * 批量删除交易_调入
     * 
     * @param ids 需要删除的交易_调入主键
     * @return 结果
     */
    @Override
    public int deleteDealFoldByIds(Long[] ids)
    {
        return dealFoldMapper.deleteDealFoldByIds(ids);
    }

    /**
     * 删除交易_调入信息
     * 
     * @param id 交易_调入主键
     * @return 结果
     */
    @Override
    public int deleteDealFoldById(Long id)
    {
        return dealFoldMapper.deleteDealFoldById(id);
    }
}
